﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Model.mongomodel
{
    public class alipay
    {
       
        /// <summary>
        /// 主键：编号
        /// </summary>
        [DisplayName("编号")]
        public virtual string ID { get; set; }


        /// <summary>
        /// 企业编号
        /// </summary>
        [DisplayName("企业编号")]
        public string CpnID { get; set; }

        /// <summary>
        /// 收款账户
        /// </summary>
        [DisplayName("收款账户")]
        public string ReceivablesAccount { get; set; }

        /// <summary>
        /// 账单日期
        /// </summary>
        [DisplayName("账单日期")]
        public DateTime StatementDate { get; set; }

        /// <summary>
        /// 交易时间
        /// </summary>
        [DisplayName("交易时间")]
        public DateTime PyDt { get; set; }

        /// <summary>
        /// 交易小时
        /// </summary>
        [DisplayName("交易小时")]
        public Int32 PayHour { get; set; }

        /// <summary>
        /// 门店编号
        /// </summary>
        [DisplayName("门店编号")]
        public string StoreNumber { get; set; }

        /// <summary>
        /// 收银机号
        /// </summary>
        [DisplayName("收银机号")]
        public string CashRootNumber { get; set; }

        /// <summary>
        /// 收银员号
        /// </summary>
        [DisplayName("收银员号")]
        public string CashPeopleNumber { get; set; }

        /// <summary>
        /// 交易描述
        /// </summary>
        [DisplayName("交易描述")]
        public string PayDescribtion { get; set; }

        /// <summary>
        /// 支付方式
        /// </summary>
        [DisplayName("支付方式")]
        public string PayMode { get; set; }

        /// <summary>
        /// 商户订单号
        /// </summary>
        [DisplayName("商户订单号")]
        public string MerchantNo { get; set; }

        /// <summary>
        /// 第三方订单号
        /// </summary>
        [DisplayName("第三方订单号")]
        public string OthNo { get; set; }

        /// <summary>
        /// 支付渠道
        /// </summary>
        [DisplayName("支付渠道")]
        public string PayChannel { get; set; }

        /// <summary>
        /// 交易总金额
        /// </summary>
        [DisplayName("交易总金额")]
        public decimal PayMoney { get; set; }

        /// <summary>
        /// 交易状态
        /// </summary>
        [DisplayName("交易状态")]
        public Int32 PayState { get; set; }

        /// <summary>
        /// 交易类型
        /// </summary>
        [DisplayName("交易类型")]
        public Int32 PayType { get; set; }

        /// <summary>
        /// 第三方退款订单号
        /// </summary>
        [DisplayName("第三方退款订单号")]
        public string OthRerundNo { get; set; }

        /// <summary>
        /// 商户退款订单号
        /// </summary>
        [DisplayName("商户退款订单号")]
        public string MerchantRefundNo { get; set; }

        /// <summary>
        ///退款类型
        /// </summary>
        [DisplayName("退款类型")]
        public string RefundType { get; set; }

        /// <summary>
        /// 退款状态
        /// </summary>
        [DisplayName("退款状态")]
        public Int32? RefundState { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [DisplayName("备注")]
        public string remark { get; set; }

        /// <summary>
        /// 下载时间
        /// </summary>
        [DisplayName("下载时间")]
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 交易小票
        /// </summary>
        [DisplayName("交易小票")]
        public string DevNo { get; set; }
        /// <summary>
        /// 订单差异状态0-正常,1-异常,2-已处理
        /// </summary>
        public virtual int Stt { get; set; }
    }
}
